<?php
require('config.php');
		$catId=$_REQUEST['catId'];
		$sql="select * from `".$oto."_articles` where `catId`='$catId' and isShow='1'";
		$result=$db->query($sql);
		while($row=$result->fetch_assoc()){
			$person_info[]=$row;//将取得的所有数据赋值给person_info数组
		}
		if(isset($person_info)) echo json_encode($person_info);
		else echo '[]';
?>